# -*- coding: utf-8 -*-
# -----------------------------------------
# @Time       : 2020/9/29 17:18
# @Author     : dqz 
# @Email      : 1513727379@qq.com
# @File       : config.py
# @Software   : PyCharm
# -----------------------------------------


REPLICATION_SETTINGS = {
    "connection_settings": {
        "host": "10.255.244.101",
        "port": 3306,
        "user": "rainbow",
        "passwd": "rainbow",
        'charset': 'utf8'
    },
    "server_id": 1234,
    "ctl_connection_settings": {
        "host": "10.255.244.101",
        "port": 3306,
        "user": "rainbow",
        "passwd": "rainbow",
        'charset': 'utf8'
    },
    "resume_stream": False,
    "blocking": False,
    "only_events": None,
    "log_file": None,
    "log_pos": None,
    "filter_non_implemented_events": True,
    "ignored_events": None,
    "auto_position": None,
    "only_tables": None,
    "ignored_tables": None,
    "only_schemas": None,
    "ignored_schemas": None,
    "freeze_schema": None,
    "skip_to_timestamp": None,
    "report_slave": None,
    "slave_uuid": None,
    "pymysql_wrapper": None,
    "fail_on_table_metadata_unavailable": False,
    "slave_heartbeat": None,
}

# REPLICATION_SETTINGS = {
#     "connection_settings": {
#         "host": "10.255.209.30",
#         "port": 3306,
#         "user": "wms_canal",
#         "passwd": "wms_canal",
#         'charset': 'utf8'
#     },
#     "server_id": 1234,
#     "ctl_connection_settings": {
#         "host": "10.255.209.30",
#         "port": 3306,
#         "user": "wms_canal",
#         "passwd": "wms_canal",
#         'charset': 'utf8'
#     },
#     "resume_stream": False,
#     "blocking": False,
#     "only_events": None,
#     "log_file": None,
#     "log_pos": None,
#     "filter_non_implemented_events": True,
#     "ignored_events": None,
#     "auto_position": None,
#     "only_tables": None,
#     "ignored_tables": None,
#     "only_schemas": None,
#     "ignored_schemas": None,
#     "freeze_schema": None,
#     "skip_to_timestamp": None,
#     "report_slave": None,
#     "slave_uuid": None,
#     "pymysql_wrapper": None,
#     "fail_on_table_metadata_unavailable": False,
#     "slave_heartbeat": None,
# }
